package com.thinkin.ordercenter.po;

import java.sql.Timestamp;

import com.thinkin.util.ExtendDate;

public class OonlineShop {

	private String keyid; // 主键
	private String channelKeyid;// 分销商ID
	private String platformID;// 网店平台
	private String netshopType;// 网店类型
	private String netShopUserName; // 网店用户名
	private String netShopName; // 网店名称
	private String netShopUrl;// 网店地址
	private java.sql.Blob fileQueue;// 网店店标
	private String appKey;// appKey
	private String appSecret;// appSecret
	private String appSession;// appSession
	private String refreshToken;// refreshToken
	private String refreshUpdate;// 是否自动更新

	public String createname; /* 1.创建人 */
	public Timestamp createdate; /* 1.创建时间 */
	public String modifyname; /* 2.修改人 */
	public Timestamp modifydate; /* 2.修改时间 */

	public String getRefreshUpdate() {
		return refreshUpdate;
	}

	public void setRefreshUpdate(String refreshUpdate) {
		this.refreshUpdate = refreshUpdate;
	}

	public String getKeyid() {
		return keyid;
	}

	public void setKeyid(String keyid) {
		this.keyid = keyid;
	}

	public String getChannelKeyid() {
		return channelKeyid;
	}

	public void setChannelKeyid(String channelKeyid) {
		this.channelKeyid = channelKeyid;
	}

	public String getPlatformID() {
		return platformID;
	}

	public void setPlatformID(String platformID) {
		this.platformID = platformID;
	}

	public String getNetshopType() {
		return netshopType;
	}

	public void setNetshopType(String netshopType) {
		this.netshopType = netshopType;
	}

	public String getNetShopUserName() {
		return netShopUserName;
	}

	public void setNetShopUserName(String netShopUserName) {
		this.netShopUserName = netShopUserName;
	}

	public String getNetShopName() {
		return netShopName;
	}

	public void setNetShopName(String netShopName) {
		this.netShopName = netShopName;
	}

	public String getNetShopUrl() {
		return netShopUrl;
	}

	public void setNetShopUrl(String netShopUrl) {
		this.netShopUrl = netShopUrl;
	}

	public java.sql.Blob getFileQueue() {
		return fileQueue;
	}

	public void setFileQueue(java.sql.Blob fileQueue) {
		this.fileQueue = fileQueue;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getAppSession() {
		return appSession;
	}

	public void setAppSession(String appSession) {
		this.appSession = appSession;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public String getCreatename() {
		return createname;
	}

	public void setCreatename(String createname) {
		this.createname = createname;
	}

	public Timestamp getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	public String getModifyname() {
		return modifyname;
	}

	public void setModifyname(String modifyname) {
		this.modifyname = modifyname;
	}

	public Timestamp getModifydate() {
		return modifydate;
	}

	public void setModifydate(Timestamp modifydate) {
		this.modifydate = modifydate;
	}

	/*
	 *  * 时间转换
	 */
	public void setStrsCreatedate(String sDate) {
		this.setCreatedate(ExtendDate.getTimestamp(sDate));
	}

	public String getStrsCreatedate() {
		return ExtendDate.getYMD_h_m_s(this.getCreatedate());
	}

	public void setStrsModifydate(String sDate) {
		this.setModifydate(ExtendDate.getTimestamp(sDate));

	}

	public String getStrsModifydate() {
		return ExtendDate.getYMD_h_m_s(this.getModifydate());
	}
}
